import { ConfigProvider } from 'antd';
import React from 'react';
import { createRoot } from 'react-dom/client';
import { Provider } from 'react-redux';
import App from './app';
import store from './store';


const rootElement = document.getElementById('root')
const root = createRoot(rootElement);

root.render(
  <ConfigProvider
    theme={{
      token: {
        // Seed Token，影响范围大
        colorPrimary: '#111',
        borderRadius: 2,
        // 派生变量，影响范围小
        // colorBgContainer: '#f6ffed',
      },
    }}
  >
    <Provider store={store}>
      <App />
    </Provider>
  </ConfigProvider>
);
